import com.itwn.entity.User;
import com.itwn.service.UserService;
import com.itwn.util.SpringUtil;
import org.junit.Test;

import java.util.List;

public class test {
    @Test
    public void t01(){
        UserService userService = (UserService)SpringUtil.getBean("userServiceImpl");
        List<User> users = userService.queryAll();
        System.out.println(users);
    }
}
